package JavaSE.Interface;

/**
 *  测试接口
 */
public class Demo01 extends Demo02{
    @Override
    public void printx() {

    }

    @Override
    public void printy() {

    }
}

interface Item {
    void printx();
}

abstract class Demo02 implements Item{
    public abstract void printy();
}